﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001187 RID: 4487
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetRogueCollectionCsReq : IMessage<SetRogueCollectionCsReq>, IMessage, IEquatable<SetRogueCollectionCsReq>, IDeepCloneable<SetRogueCollectionCsReq>, IBufferMessage
	{
		// Token: 0x170038C4 RID: 14532
		// (get) Token: 0x0600C8D7 RID: 51415 RVA: 0x0021D4AB File Offset: 0x0021B6AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetRogueCollectionCsReq> Parser
		{
			get
			{
				return SetRogueCollectionCsReq._parser;
			}
		}

		// Token: 0x170038C5 RID: 14533
		// (get) Token: 0x0600C8D8 RID: 51416 RVA: 0x0021D4B2 File Offset: 0x0021B6B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetRogueCollectionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038C6 RID: 14534
		// (get) Token: 0x0600C8D9 RID: 51417 RVA: 0x0021D4C4 File Offset: 0x0021B6C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetRogueCollectionCsReq.Descriptor;
			}
		}

		// Token: 0x0600C8DA RID: 51418 RVA: 0x0021D4CB File Offset: 0x0021B6CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionCsReq()
		{
		}

		// Token: 0x0600C8DB RID: 51419 RVA: 0x0021D4F4 File Offset: 0x0021B6F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionCsReq(SetRogueCollectionCsReq other) : this()
		{
			this.lAECCEAFAKD_ = other.lAECCEAFAKD_.Clone();
			this.pKMIOMOOILK_ = other.pKMIOMOOILK_.Clone();
			this.kGBJDEPIGLC_ = other.kGBJDEPIGLC_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C8DC RID: 51420 RVA: 0x0021D54B File Offset: 0x0021B74B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionCsReq Clone()
		{
			return new SetRogueCollectionCsReq(this);
		}

		// Token: 0x170038C7 RID: 14535
		// (get) Token: 0x0600C8DD RID: 51421 RVA: 0x0021D553 File Offset: 0x0021B753
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueCollectionExhibitionOperateType> LAECCEAFAKD
		{
			get
			{
				return this.lAECCEAFAKD_;
			}
		}

		// Token: 0x170038C8 RID: 14536
		// (get) Token: 0x0600C8DE RID: 51422 RVA: 0x0021D55B File Offset: 0x0021B75B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> PKMIOMOOILK
		{
			get
			{
				return this.pKMIOMOOILK_;
			}
		}

		// Token: 0x170038C9 RID: 14537
		// (get) Token: 0x0600C8DF RID: 51423 RVA: 0x0021D563 File Offset: 0x0021B763
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> KGBJDEPIGLC
		{
			get
			{
				return this.kGBJDEPIGLC_;
			}
		}

		// Token: 0x0600C8E0 RID: 51424 RVA: 0x0021D56B File Offset: 0x0021B76B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetRogueCollectionCsReq);
		}

		// Token: 0x0600C8E1 RID: 51425 RVA: 0x0021D57C File Offset: 0x0021B77C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetRogueCollectionCsReq other)
		{
			return other != null && (other == this || (this.lAECCEAFAKD_.Equals(other.lAECCEAFAKD_) && this.pKMIOMOOILK_.Equals(other.pKMIOMOOILK_) && this.kGBJDEPIGLC_.Equals(other.kGBJDEPIGLC_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C8E2 RID: 51426 RVA: 0x0021D5E4 File Offset: 0x0021B7E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.lAECCEAFAKD_.GetHashCode();
			num ^= this.pKMIOMOOILK_.GetHashCode();
			num ^= this.kGBJDEPIGLC_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C8E3 RID: 51427 RVA: 0x0021D634 File Offset: 0x0021B834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C8E4 RID: 51428 RVA: 0x0021D63C File Offset: 0x0021B83C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C8E5 RID: 51429 RVA: 0x0021D648 File Offset: 0x0021B848
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.lAECCEAFAKD_.WriteTo(ref output, SetRogueCollectionCsReq._repeated_lAECCEAFAKD_codec);
			this.kGBJDEPIGLC_.WriteTo(ref output, SetRogueCollectionCsReq._repeated_kGBJDEPIGLC_codec);
			this.pKMIOMOOILK_.WriteTo(ref output, SetRogueCollectionCsReq._repeated_pKMIOMOOILK_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C8E6 RID: 51430 RVA: 0x0021D69C File Offset: 0x0021B89C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.lAECCEAFAKD_.CalculateSize(SetRogueCollectionCsReq._repeated_lAECCEAFAKD_codec);
			num += this.pKMIOMOOILK_.CalculateSize(SetRogueCollectionCsReq._repeated_pKMIOMOOILK_codec);
			num += this.kGBJDEPIGLC_.CalculateSize(SetRogueCollectionCsReq._repeated_kGBJDEPIGLC_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C8E7 RID: 51431 RVA: 0x0021D6FC File Offset: 0x0021B8FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetRogueCollectionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.lAECCEAFAKD_.Add(other.lAECCEAFAKD_);
			this.pKMIOMOOILK_.Add(other.pKMIOMOOILK_);
			this.kGBJDEPIGLC_.Add(other.kGBJDEPIGLC_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C8E8 RID: 51432 RVA: 0x0021D757 File Offset: 0x0021B957
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C8E9 RID: 51433 RVA: 0x0021D760 File Offset: 0x0021B960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 16U || num == 18U)
					{
						this.lAECCEAFAKD_.AddEntriesFrom(ref input, SetRogueCollectionCsReq._repeated_lAECCEAFAKD_codec);
						continue;
					}
					if (num == 56U)
					{
						goto IL_4E;
					}
				}
				else
				{
					if (num == 58U)
					{
						goto IL_4E;
					}
					if (num == 120U || num == 122U)
					{
						this.pKMIOMOOILK_.AddEntriesFrom(ref input, SetRogueCollectionCsReq._repeated_pKMIOMOOILK_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_4E:
				this.kGBJDEPIGLC_.AddEntriesFrom(ref input, SetRogueCollectionCsReq._repeated_kGBJDEPIGLC_codec);
			}
		}

		// Token: 0x040050A0 RID: 20640
		private static readonly MessageParser<SetRogueCollectionCsReq> _parser = new MessageParser<SetRogueCollectionCsReq>(() => new SetRogueCollectionCsReq());

		// Token: 0x040050A1 RID: 20641
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050A2 RID: 20642
		public const int LAECCEAFAKDFieldNumber = 2;

		// Token: 0x040050A3 RID: 20643
		private static readonly FieldCodec<RogueCollectionExhibitionOperateType> _repeated_lAECCEAFAKD_codec = FieldCodec.ForEnum<RogueCollectionExhibitionOperateType>(18U, (RogueCollectionExhibitionOperateType x) => (int)x, (int x) => (RogueCollectionExhibitionOperateType)x);

		// Token: 0x040050A4 RID: 20644
		private readonly RepeatedField<RogueCollectionExhibitionOperateType> lAECCEAFAKD_ = new RepeatedField<RogueCollectionExhibitionOperateType>();

		// Token: 0x040050A5 RID: 20645
		public const int PKMIOMOOILKFieldNumber = 15;

		// Token: 0x040050A6 RID: 20646
		private static readonly FieldCodec<uint> _repeated_pKMIOMOOILK_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x040050A7 RID: 20647
		private readonly RepeatedField<uint> pKMIOMOOILK_ = new RepeatedField<uint>();

		// Token: 0x040050A8 RID: 20648
		public const int KGBJDEPIGLCFieldNumber = 7;

		// Token: 0x040050A9 RID: 20649
		private static readonly FieldCodec<uint> _repeated_kGBJDEPIGLC_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x040050AA RID: 20650
		private readonly RepeatedField<uint> kGBJDEPIGLC_ = new RepeatedField<uint>();
	}
}
